package com.example.demo.service.impl;

import com.example.demo.dao.GraduateUserMapper;
import com.example.demo.entity.GraduateUser;
import com.example.demo.service.GraduateUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class GraduateUserServiceImpl implements GraduateUserService {

    @Resource
    private GraduateUserMapper graduateUserMapper;

    @Override
    public GraduateUser findUser(String username, String password) {
        return graduateUserMapper.login(username, password);
    }

}
